<%@ include file="../tagHTMLLibIncludes.jsp"%>
<c:url value="${auth}/propertyDef/${storageId}/add" var="urlAdd"></c:url>
<input type="hidden" value="${urlAdd}" id="viewAddPropertyDef"/>
<div class="divTitle"><fmt:message key="applicationProperty"/></div>
<display:table name="propertyDefs" id="propertyDef" defaultsort="1" pagesize="50" style="width:100%;" class="table">
   <display:column titleKey="propertyDef.name">
      ${propertyDef.name}
      <input type="hidden" value="${auth}/propertyDef/${storageId}/${propertyDef.id}/edit"></input>
   </display:column>
   <display:column titleKey="propertyDef.displayName" property="displayName"/>
   <display:column titleKey="propertyDef.propertyType">
      <c:choose>
             <c:when test="${propertyDef.propertyType == 0}">
                <fmt:message key="property.propertyType.String"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 1}">
                <fmt:message key="property.propertyType.Integer"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 2}">
                <fmt:message key="property.propertyType.Double"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 3}">
                <fmt:message key="property.propertyType.Date"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 4}">
                <fmt:message key="property.propertyType.Boolean"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 5}">
                <fmt:message key="property.propertyType.LongText"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 6}">
                <fmt:message key="property.propertyType.InputStream"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 7}">
                <fmt:message key="property.propertyType.Long"/>
             </c:when>
             <c:when test="${propertyDef.propertyType == 8}">
                <fmt:message key="property.propertyType.Object"/>
             </c:when>
      </c:choose>
   </display:column>
</display:table>
 <div class="divButtonURL">
   <div class="buttonURL"><a href="#" id="hrefViewAddPropertyDef"><fmt:message key="btn.add"/></a></div>
</div>


